<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html id="html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>Kulikov Dmitriy</title>
  <style>
      body { font: 12px Arial; }
      table { border-collapse: collapse; }
      td { border: #eee 1px solid; padding: 2px; }
      td.current-team { font-weight: bold; }
      td.space { background: #888; color: white; padding: 5px 2px; }
  </style>
</head>
<body>

<table>
    {% for team in champTable.getTeams %}    <tr>
        <td colspan="4" class="space">{{ team.getName }}</td>
    </tr>
    <tr>        <td>&nbsp;</td>        <td>Хозяин</td>        <td>Гость</td>        <td>Счет</td>    </tr>
        {% for game in team.getGames %}
            <tr>                <td>{{ game.getNumber }}</td>                <td {% ifequal game.getHomeTeam team.getName %}class="current-team"{% endifequal %}>{{ game.getHomeTeam }}</td>                <td {% ifequal game.getGuestTeam team.getName %}class="current-team"{% endifequal %}>{{ game.getGuestTeam }}</td>                <td>{{ game.getScoreLine }}</td>            </tr>
        {% endfor %}
    {% endfor %}</table>






</body>
</html>